TEMPLATE = app
CONFIG += console
CONFIG -= qt

SOURCES += main.cpp \
    capture.cpp \
    package.cpp

HEADERS += \
    capture.h \
    package.h


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/release/ -lpcap
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/debug/ -lpcap
else:symbian: LIBS += -lpcap
else:unix: LIBS += -L$$PWD/ -lpcap

INCLUDEPATH += $$PWD/
DEPENDPATH += $$PWD/

win32:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/release/pcap.lib
else:win32:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/debug/pcap.lib
else:unix:!symbian: PRE_TARGETDEPS += $$PWD/libpcap.a
